﻿using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using Exhibition.Dao;
using Exhibition.IService;
using Exhibition.Dao.ViewModel;
namespace Exhibition.Service.Service
{

    public class ColorTypeService : IColorTypeService
    {


        ColorTypeDao dao = new ColorTypeDao();


        #region IColorTypeService 成员

        public List<E_ColorType> GetList(int startIndex, int maxRow, out int recordcount)
        {

            return dao.GetList(startIndex, maxRow, out recordcount);

        }


        #endregion


        #region IColorTypeService 成员

        public int Save(ColorTypeModel obj)
        {

            return dao.Save(obj);

        }


        #endregion


        #region IColorTypeService 成员

        public ColorTypeModel GetOneById(int id)
        {

            return dao.GetOneById(id);

        }


        #endregion

        #region IColorTypeService 成员
        public int DelById(int id)
        {

            return dao.DelById(id);

        }


        #endregion



        public List<ColorTypeModel> GetColorList()
        {
            return dao.GetColorList();
        }
    }

}

